Skip to main content

releaseStack

Type

message

Summary

Sent to a stack when the stack is removed from the message path with the stop using command.

Syntax

releaseStack

Description

Handle the releaseStack message if you want to perform some task or set a configuration when a stack is no longer in use.

The releaseStack message is sent to the stack being released with the stop using command, even if the stack was not in use before the stop using command was executed.

Examples

on releaseStack
-- turn off a checkbox to show that this stack is no longer in use
set the hilite of button (the short name of the target) \
of card "Libraries" to false
end releaseStack

command: stop using, start using

glossary: message, command, execute, message path

message: libraryStack

object: stack

property: stacksInUse

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?